package com.cf.controller;

import com.cf.conf.core.ZValue;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * boot-distributed-config-ValueController
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/12 上午 09:56
 */
@RestController
public class ValueController {

    @ZValue(key = "zmm")
    private String data;


    @RequestMapping("/getData")
    public String getData() {
        return data;
    }
}
